package st.business.tepth.business.user.busnumber.workholder.maintain.finish.content;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import st.business.tepth.R;
import st.business.tepth.business.bean.MaintainWorkBean;

/**
 * @author zhangyu
 * @date 2019/4/19
 */
public class MaintainContentAdapter extends BaseQuickAdapter<MaintainWorkBean, BaseViewHolder> {
    public MaintainContentAdapter(int layoutResId, @Nullable List<MaintainWorkBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder viewHolder, MaintainWorkBean o) {
        viewHolder.setText(R.id.tv_content, o.getName());
    }
}
